// import { login, logout, getInfo, refreshToken } from '@/api/login'
// import { getToken, setToken, setExpiresIn, removeToken } from '@/utils/auth'

const project = {
    state: {
        //token: getToken(),
        projectId: '',
    },

    mutations: {
        SET_PROJECTID: (state, projectId) => {
            state.projectId = projectId
        },
    },

    actions: {
        //获取projectId
        setProjectId({ commit }, projectId) {
            commit('SET_PROJECTID', projectId)
        },
    }
}

export default project
